package com.kitten.comment.domain.dataobject;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CommentDO {
    private Long id;

    private Long noteId;

    private Long userId;

    private String contentUuid;

    private Boolean isContentEmpty;

    private String imageUrl;
    /**
     * 评论等级，1为一级评论，2为二级评论
     */
    private Integer level;

    private Long replyTotal;

    private Long likeTotal;

    private Long parentId;

    private Long replyCommentId;

    private Long replyUserId;
    /**
     * 是否置顶，0为不置顶，1为置顶
     */
    private Integer isTop;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long childCommentTotal;

    private Long firstReplyCommentId;

    private Double heat;

}